package com.ruoyi.domain;

import java.util.Date;

public class UserHealthGoals {
    private Integer goalId;           // 目标ID
    private Long userId;              // 用户ID
    private Integer name;             // 目标名称 (1-运动步数, 2-运动时间)
    private Integer targetValue;      // 目标值
    private Integer actualValue;      // 实际值
    private Integer status;           // 目标状态 (0-未完成, 1-已完成)
    private Date date;                // 目标日期

    // Getters and Setters
    public Integer getGoalId() {
        return goalId;
    }

    public void setGoalId(Integer goalId) {
        this.goalId = goalId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getName() {
        return name;
    }

    public void setName(Integer name) {
        this.name = name;
    }

    public Integer getTargetValue() {
        return targetValue;
    }

    public void setTargetValue(Integer targetValue) {
        this.targetValue = targetValue;
    }

    public Integer getActualValue() {
        return actualValue;
    }

    public void setActualValue(Integer actualValue) {
        this.actualValue = actualValue;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    @Override
    public String toString() {
        return "UserHealthGoals{" +
                "goalId=" + goalId +
                ", userId=" + userId +
                ", name=" + name +
                ", targetValue=" + targetValue +
                ", actualValue=" + actualValue +
                ", status=" + status +
                ", date=" + date +
                '}';
    }
}
